package com.meilai.project.controller.web.adMake.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.meilai.project.controller.web.adMake.dto.BillAdMakePicsForConfirmDTO;
import com.meilai.project.controller.web.adMake.entity.BillAdMakeSupplierConfirm;
import com.meilai.project.controller.web.adMake.vo.BillAdMakeConfirmWebVO;
import com.meilai.project.controller.web.adMake.vo.BillAdMakeSupplierConfirmVO;

import java.util.List;
import java.util.Set;

/**
 * <p>
 * 制作单-配送 服务类
 * </p>
 *
 * @author 张驰
 * @since 2022-08-16
 */
public interface BillAdMakeSupplierConfirmService extends IService<BillAdMakeSupplierConfirm> {
    void deleteByAdMakeId(Long adMakeId);
    BillAdMakeConfirmWebVO getConfirmVOById(String batchId);
    List<BillAdMakeSupplierConfirmVO> confirmVOList(Long adMakeId);
    List<BillAdMakePicsForConfirmDTO> getConfirmPicList(Long adMakeId, Set<Long> supplierIds);
    BillAdMakeSupplierConfirm getConfirmByAdMakeIdAndSupplierId(Long adMakeId, Long supplierId);
    BillAdMakeSupplierConfirm getConfirmByBatchStr(String batchStr);

    List<BillAdMakeSupplierConfirmVO> getListBySaleIds(List<Long> saleIds);
}
